﻿using System;
using System.Collections.Generic;
using System.Text;
using System.Configuration;
using EnCor.ObjectBuilder;

namespace EnCor.Security
{
    [Assembler(typeof(WindowsGroupAuthorizationProviderAssembler))]
    public class WindowsGroupAuthorizationProviderConfig : AuthorizationProviderConfig
    {

    }


    public class WindowsGroupAuthorizationProviderAssembler : IAssembler<IAuthorizationProvider, AuthorizationProviderConfig>
    {
        #region IAssembler<IAuthorizationProvider,AuthorizationConfig> Members

        public IAuthorizationProvider Assemble(IBuilderContext context, AuthorizationProviderConfig objectConfiguration)
        {
            return new WindowsGroupAuthorizationProvider();
        }

        #endregion
    }

}
